<?php

namespace App\HttpController\Admin;

use App\Logic\Dashboard\DashboardService;
use App\Logic\Order\OrderService;
use EasySwoole\HttpAnnotation\AnnotationTag\Api;
use EasySwoole\HttpAnnotation\AnnotationTag\ApiDescription;
use EasySwoole\HttpAnnotation\AnnotationTag\ApiGroup;
use EasySwoole\HttpAnnotation\AnnotationTag\ApiSuccessParam;
use EasySwoole\HttpAnnotation\AnnotationTag\Method;
use EasySwoole\HttpAnnotation\AnnotationTag\Param;

/**
 * @ApiGroup(groupName="会员管理")

 */
class Dashboard extends BaseController{

    public function index()
    {
        $result = DashboardService::getInstance()->statistics($this->request());
        return $this->writeJsonByOutput($result);

    }


}
